<?php
namespace Fendx\Doctrine;

trait DeletedTimeFieldTrait
{
    /**
     * 删除时间
     *
     * @ORM\Column(name="deleted_time", type="integer", options={"default": 0})
     */
    private int $deleted_time = 0;

    /**
     * @return int
     */
    public function getDeletedTime(): int
    {
        return $this->deleted_time;
    }

    /**
     * @param int $deleted_time
     */
    public function setDeletedTime(int $deleted_time): void
    {
        $this->deleted_time = $deleted_time;
    }
}
